home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 6.6 KB | 200 lines | [TEXT/MPS ] |
- /*
- File: CardServices.idl
-
- Contains: The client interface to Card and Socket Services.
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __CARDSERVICES_IDL__
- #define __CARDSERVICES_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __PCCARDTUPLES_IDL__
- #include <PCCardTuples.idl>
- #endif
- #ifndef __MIXEDMODE_IDL__
- #include <MixedMode.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- /* miscellaneous*/
- /* Will move to <Gestalt.h>*/
- /* Will move to <Traps.h>*/
- /*
- Will move to <Errors.h>
- result codes
- */
- /* messages sent to client's event handler*/
- /*
- The following is a mapping of the PCMCIA name space to the Macintosh name space.
- These two enum lists will be removed and given to developers as a separate file.
- */
- /* messages sent to client's event handler*/
- /*---------------- CSAccessConfigurationRegister ----------------*/
- typedef SOMLargeStruct AccessConfigurationRegisterPB; /* Derived from a struct of 6 bytes in size */
-
- /* ‘action’ field values*/
- /*---------------- CSGetCardServicesInfo ----------------*/
- typedef SOMLargeStruct GetCardServicesInfoPB; /* Derived from a struct of 16 bytes in size */
-
- /*
- ---------------- CSGetClientInfo ----------------
- upper byte of attributes is kCSClientInfoSubfunction
- */
- typedef SOMLargeStruct ClientInfoParam; /* Derived from a struct of 24 bytes in size */
-
- /*
- upper byte of attributes is kCSCardNameSubfunction,
- kCSCardTypeSubfunction,
- kCSHelpStringSubfunction
- */
- typedef SOMLargeStruct AlternateTextStringParam; /* Derived from a struct of 16 bytes in size */
-
- /* upper byte of attributes is kCSCardIconSubfunction*/
- typedef SOMLargeStruct AlternateCardIconParam; /* Derived from a struct of 12 bytes in size */
-
- /* upper byte of attributes is kCSActionProcSubfunction*/
- typedef SOMLargeStruct CustomActionProcParam; /* Derived from a struct of 8 bytes in size */
-
- typedef SOMLargeStruct GetClientInfoPB; /* Derived from a struct of 60 bytes in size */
-
- /* ‘attributes’ field values*/
- /*
- ---------------- CSGetConfigurationInfo ----------------
- ---------------- CSModifyConfiguration ----------------
- ---------------- CSRequestConfiguration ----------------
- */
- typedef SOMLargeStruct GetModRequestConfigInfoPB; /* Derived from a struct of 30 bytes in size */
-
- /* ‘attributes’ field values*/
- /* ‘intType’ field values*/
- /* ‘present’ field values*/
- /* ‘cardValues’ field values*/
- /*
- ---------------- CSGetClientEventMask ----------------
- ---------------- CSSetClientEventMask ----------------
- */
- typedef SOMLargeStruct GetSetClientEventMaskPB; /* Derived from a struct of 10 bytes in size */
-
- /* ‘attributes’ field values*/
- /* ‘eventMask’ field values*/
- /*
- ---------------- CSGetFirstClient ----------------
- ---------------- CSGetNextClient ----------------
- */
- typedef SOMLargeStruct GetClientPB; /* Derived from a struct of 8 bytes in size */
-
- /* ‘attributes’ field values*/
- /*
- ---------------- CSGetFirstTuple ----------------
- ---------------- CSGetNextTuple ----------------
- ---------------- CSGetTupleData ----------------
- */
- typedef SOMLargeStruct GetTuplePB; /* Derived from a struct of 276 bytes in size */
-
- /* ‘attributes’ field values*/
- /*
- ---------------- CSRequestSocketMask ----------------
- ---------------- CSReleaseSocketMask ----------------
- */
- typedef SOMLargeStruct ReqRelSocketMaskPB; /* Derived from a struct of 8 bytes in size */
-
- /*
- ‘eventMask’ field values (see above for Get/SetClientEventMask
- ---------------- CSGetStatus ----------------
- */
- typedef SOMLargeStruct GetStatusPB; /* Derived from a struct of 6 bytes in size */
-
- /* ‘cardState’ field values*/
- /* ‘socketState’ field values*/
- /*
- ---------------- CSModifyWindow ----------------
- ---------------- CSReleaseWindow ----------------
- ---------------- CSRequestWindow ----------------
- */
- typedef SOMLargeStruct ReqModRelWindowPB; /* Derived from a struct of 22 bytes in size */
-
- /* ‘attributes’ field values*/
- /* ‘accessSpeed’ field values*/
- /*
- ---------------- CSRegisterClient ----------------
- ---------------- CSDeregisterClient ----------------
- */
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- typedef SOMLargeStruct ClientCallbackPB; /* Derived from a struct of 20 bytes in size */
-
- typedef OpaquePtr ClientCallbackPBPtr; /* Substituted OpaquePtr for “ClientCallbackPB*” */
-
- typedef OpaquePtr PCCardCSClientProcPtr;
- typedef OpaquePtr PCCardCSClientUPP;
- typedef SOMLargeStruct RegisterClientPB; /* Derived from a struct of 18 bytes in size */
-
- /*
- ‘attributes’ field values (see GetClientInfo)
- kCSMemoryClient = 0x0001,
- kCSIOClient = 0x0004,
- kCSShareableCardInsertEvents = 0x0008,
- kCSExclusiveCardInsertEvents = 0x0010
- */
- #endif
- /*---------------- CSReleaseConfiguration ----------------*/
- typedef SOMLargeStruct ReleaseConfigurationPB; /* Derived from a struct of 6 bytes in size */
-
- /*---------------- CSResetCard ----------------*/
- typedef SOMLargeStruct ResetCardPB; /* Derived from a struct of 8 bytes in size */
-
- /*---------------- CSValidateCIS ----------------*/
- typedef SOMFourByteStruct ValidateCISPB; /* Derived from a struct of 4 bytes in size */
-
- /*
- ---------------- CSRequestIO ----------------
- ---------------- CSReleaseIO ----------------
- */
- typedef SOMLargeStruct ReqRelIOPB; /* Derived from a struct of 18 bytes in size */
-
- /*---------------- CSVendorSpecific ----------------*/
- typedef SOMLargeStruct VendorSpecificPB; /* Derived from a struct of 16 bytes in size */
-
- /* ‘vsCode’ field values*/
- /*
- ///////////////////////////////////////////////////////////////////////////////////////
- GetAdapterInfo parameter block (vendor-specific call #6)
- */
- typedef SOMLargeStruct GetAdapterInfoPB; /* Derived from a struct of 14 bytes in size */
-
- /* ‘attributes’ field values*/
- /*
- ///////////////////////////////////////////////////////////////////////////////////////
- GetCardInfo parameter block (vendor-specific call #2)
- */
- typedef SOMLargeStruct GetCardInfoPB; /* Derived from a struct of 16 bytes in size */
-
- /* GetCardInfo card types*/
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- #endif
- /*
- Additional calls which are required for all I/O clients when running on
- systems which do not reserve dedicated I/O-spaces for each PC Card.
- */
-
- #endif /* __SOMIDL__ */
-
- #endif /* __CARDSERVICES_IDL__ */
-
-